﻿using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace D.ATN.Models
{
    [Table(Name = "EnvSettingEntity")]
    [Description("环境地址")]
    public class EnvSettingEntity
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        [Description("主键")]
        public int Id { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("名称")]
        public string Name { get; set; }

        [Column(DbType = "varchar", StringLength = 125)]
        [Description("地址")]
        public string SPCIp { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("端口")]
        public string SPCPort { get; set; }

        [Column(DbType = "varchar", StringLength = 30)]
        [Description("数据库类型")]
        public string SPCDbType { get; set; }

        [Column(DbType = "varchar", StringLength = 30)]
        [Description("账号")]
        public string SPCAccount { get; set; }

        [Column(DbType = "varchar", StringLength = 125)]
        [Description("密码")]
        public string SPCPwd { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("服务名")]
        public string SPCSid { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("SPCSearchPath")]
        public string SPCSearchPath { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("SPCDataBase")]
        public string SPCDataBase { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("服务名/SID")]
        public string SPCSidOrServiceName { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("IP")]
        public string MESIp { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("端口")]
        public string MESPort { get; set; }

        [Column(DbType = "varchar", StringLength = 30)]
        [Description("数据库类型")]
        public string MESDbType { get; set; }

        [Column(DbType = "varchar", StringLength = 30)]
        [Description("账号")]
        public string MESAccount { get; set; }

        [Column(DbType = "varchar", StringLength = 125)]
        [Description("密码")]
        public string MESPwd { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("服务名")]
        public string MESSid { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("MESSearchPath")]
        public string MESSearchPath { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("MESDataBase")]
        public string MESDataBase { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("服务名/SID")]
        public string MESSidOrServiceName { get; set; }

        [Column(DbType = "varchar", StringLength = 125)]
        [Description("地址")]
        public string WebAPIIP { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("端口")]
        public string WebAPIPort { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("IP")]
        public string RTIp { get; set; }

        [Column(DbType = "varchar", StringLength = 128)]
        [Description("端口")]
        public string RTPort { get; set; }

        [Column(DbType = "varchar", StringLength = 125)]
        [Description("地址")]
        public string NonRTIp { get; set; }

        [Column(DbType = "varchar", StringLength = 5)]
        [Description("端口")]
        public string NonRTPort { get; set; }
    }
}
